﻿using NewRetail.Application.Components.Goods.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NewRetail.Application.Components.PrintTask.Model
{
    public class PrintTaskSaveInputDto
    {
        /// <summary>
        /// 单据号
        /// </summary>
        public string receiptNo { get; set; }
        /// <summary>
        /// 单据日期
        /// </summary>
        public DateTime receiptDate { get; set; }
        ///// <summary>
        ///// 入库/退货
        ///// </summary>
        //public int inOrOut { get; set; }
        /// <summary>
        /// 打印标志（0:未打印 1：已打印 2:取消）
        /// </summary>
        public int printTag { get; set; }
        /// <summary>
        /// 指定打印的打印机编号
        /// </summary>
        public string printNo { get; set; }
        /// <summary>
        /// 仓库Id
        /// </summary>
        public string warehouseId { get; set; }
    }

    public class PrintTaskDataResultDto : PrintTaskSaveInputDto
    {

        public decimal quantity { get; set; }
        /// <summary>
        /// 商品信息
        /// </summary>
        public GoodsInfo[] GoodsInfos { get; set; }
    }
    public class PrintTaskQueryAllInputDto
    {
        /// <summary>
        /// 仓库Id
        /// </summary>
        public string warehouseId { get; set; }
    }
}
